package innerclasses;

public class AnonymousConstructor {

	public AnonymousConstructor() {
		// TODO 自动生成的构造函数存根
	}
	public static Base getBase(int i ) {
		return new Base(i) {
			{
				System.out.println("Inside instance initializer");
			}
			@Override
			public void f() {
				System.out.println("in anonymous f()");
			}
		};
	}
	public static void main(String[] args) {
		Base base =getBase(47);
		base.f();
	}
}
